<?php
App::uses('AppModel', 'Model');
/**
 * MedicamentosPaciente Model
 *
 * @property Medicamento $Medicamento
 * @property Paciente $Paciente
 * @property Consultasexterna $Consultasexterna
 */
class MedicamentosPaciente extends AppModel {


	//The Associations below have been created with all possible keys, those that are not needed can be removed

/**
 * belongsTo associations
 *
 * @var array
 */
	public $belongsTo = array(
		'Medicamento' => array(
			'className' => 'Medicamento',
			'foreignKey' => 'medicamento_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
            'User' => array(
			'className' => 'User',
			'foreignKey' => 'user_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
		'Paciente' => array(
			'className' => 'Paciente',
			'foreignKey' => 'paciente_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
		'Consultasexterna' => array(
			'className' => 'Consultasexterna',
			'foreignKey' => 'consultasexterna_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
            'Seguro'=>array(
                'className' => 'Seguro',
			'foreignKey' => 'seguro_id'
            ),
            'Colegio'=>array(
                'className' => 'Colegio',
			'foreignKey' => 'colegio_id'
            )
	);
}
